<template>
  <a-config-provider :locale="locale">
    <router-view />
  </a-config-provider>
</template>
<script lang="ts" setup>
import { ref, onMounted } from "vue";
import { getlocalData } from "@/utils/updateLocalData";
import zhCN from "ant-design-vue/es/locale/zh_CN";
const locale = zhCN;

onMounted(() => {
  getlocalData();
});
</script>

<style lang="less" scoped></style>
